<template>
  <div class="login">
    <!-- 登录头部 -->
<loginHeader></loginHeader>
<!-- 登录主体表单 -->
<section class="login-section">
  <div class="wrapper">
    <nav><a href="javascript:;">账户登录</a></nav>
    <!-- 登录表单 -->
    <loginForm></loginForm>
  </div>
</section>

<!-- 登录脚部 -->
<loginFooter></loginFooter>
  </div>
</template>

<script>
import loginHeader from './components/loginHeader.vue'
import loginForm from './components/loginForm.vue'
import loginFooter from './components/loginFooter.vue'
export default {
  name: 'LoginBr',
  components: {
    loginHeader, loginForm, loginFooter
  },
  setup () {
    return {}
  }
}
</script>

<style lang="less" scoped>
// 导入样式文件
// @import '@/styles/mixins.less';
// @import '@/styles/varaibles.less';

.login-section {
  background: url(../../assets/images/login-bg.png) no-repeat center / cover;
  height: 488px;
  position: relative;
  .wrapper {
    width: 380px;
    background: #fff;
    position: absolute;
    left: 50%;
    top: 54px;
    transform: translate3d(100px,0,0);
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    nav {
      font-size:14px;
      height: 55px;
      margin-bottom: 20px;
      border-bottom: 1px solid #f5f5f5;
      display: flex;
      padding: 0 40px;
      text-align: right;
      align-items: center;
      a {
        flex: 1;
        line-height: 1;
        display: inline-block;
        font-size: 18px;
        position: relative;
        text-align: center;
      }
    }
  }
}
</style>
